package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author RJ
 * @date 2022/9/13 16:00
 */
/*
    病害一览
 */
@TableName("disease_info")
public class DiseaseBean {
    //病害id
    @TableId(value = "disease_id", type = IdType.AUTO)
    private Integer diseaseId;
    //名称
    @TableField("disease_name")
    private String diseaseName;
    //病原
    @TableField("disease_source")
    private String diseaseSource;
    //发病症状
    @TableField("disease_symptoms")
    private String diseaseSymptoms;
    //发病规律
    @TableField("disease_regularity")
    private String diseaseRegularity;
    //图片
    @TableField("disease_pic")
    private String diseasePic;
    //防治措施
    @TableField("disease_control")
    private String diseaseControl;
    //主要危害
    @TableField("disease_main_harm")
    private String diseaseMainHarm;

    public DiseaseBean() {
    }

    public DiseaseBean(String diseaseName, String diseaseSource, String diseaseSymptoms, String diseaseRegularity, String diseasePic, String diseaseControl, String diseaseMainHarm) {
        this.diseaseName = diseaseName;
        this.diseaseSource = diseaseSource;
        this.diseaseSymptoms = diseaseSymptoms;
        this.diseaseRegularity = diseaseRegularity;
        this.diseasePic = diseasePic;
        this.diseaseControl = diseaseControl;
        this.diseaseMainHarm = diseaseMainHarm;
    }

    public Integer getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(Integer diseaseId) {
        this.diseaseId = diseaseId;
    }

    public String getDiseaseName() {
        return diseaseName;
    }

    public void setDiseaseName(String diseaseName) {
        this.diseaseName = diseaseName;
    }

    public String getDiseaseSource() {
        return diseaseSource;
    }

    public void setDiseaseSource(String diseaseSource) {
        this.diseaseSource = diseaseSource;
    }

    public String getDiseaseSymptoms() {
        return diseaseSymptoms;
    }

    public void setDiseaseSymptoms(String diseaseSymptoms) {
        this.diseaseSymptoms = diseaseSymptoms;
    }

    public String getDiseaseRegularity() {
        return diseaseRegularity;
    }

    public void setDiseaseRegularity(String diseaseRegularity) {
        this.diseaseRegularity = diseaseRegularity;
    }

    public String getDiseasePic() {
        return diseasePic;
    }

    public void setDiseasePic(String diseasePic) {
        this.diseasePic = diseasePic;
    }

    public String getDiseaseControl() {
        return diseaseControl;
    }

    public void setDiseaseControl(String diseaseControl) {
        this.diseaseControl = diseaseControl;
    }

    public String getDiseaseMainHarm() {
        return diseaseMainHarm;
    }

    public void setDiseaseMainHarm(String diseaseMainHarm) {
        this.diseaseMainHarm = diseaseMainHarm;
    }

    @Override
    public String toString() {
        return "DiseaseBean{" +
                "diseaseId=" + diseaseId +
                ", diseaseName='" + diseaseName + '\'' +
                ", diseaseSource='" + diseaseSource + '\'' +
                ", diseaseSymptoms='" + diseaseSymptoms + '\'' +
                ", diseaseRegularity='" + diseaseRegularity + '\'' +
                ", diseasePic='" + diseasePic + '\'' +
                ", diseaseControl='" + diseaseControl + '\'' +
                ", diseaseMainHarm='" + diseaseMainHarm + '\'' +
                '}';
    }
}
